package com.ynet.middleground.contract.bean;

import java.util.Date;

import com.ynet.core.common.BaseReqObjPager;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author daigaole
 * @description 查询档案请求
 * @date 2020-03-18
 */
@Data
@ApiModel(value = "查询档案请求", description = "查询档案请求")
public class QueryArchiveReq extends BaseReqObjPager {

    private static final long serialVersionUID = -1780474605226043470L;

    @ApiModelProperty(value = "业态公司 id \n（仅综合管理平台使用）", notes = "业态公司 id \n（仅综合管理平台使用）", dataType = "Integer")
    private Integer formatId;

    /**
     * 档案id
     */
    @ApiModelProperty(value = "档案id", notes = "档案id", dataType = "Integer")
    private Integer archiveId;

    /**
     * 渠道端业务id
     */
    @ApiModelProperty(value = "渠道端业务id", notes = "渠道端业务id", dataType = "Integer")
    private String busId;

    /**
     * 档案名
     */
    @ApiModelProperty(value = "档案名", notes = "档案名", dataType = "String")
    private String name;

    /**
     * 档案涉及自然人名称
     */
    @ApiModelProperty(value = "档案涉及自然人（业务主体）名称", notes = "档案涉及自然人（业务主体）名称", dataType = "String")
    private String archiveNaturalPersonName;

    /**
     * 档案涉及企业名称
     */
    @ApiModelProperty(value = "档案涉及企业（业务主体）名称", notes = "档案涉及企业（业务主体）名称", dataType = "String")
    private String archiveEnterpriseName;

    /**
     * 地址
     */
    @ApiModelProperty(value = "地址", notes = "地址", dataType = "String")
    private String url;
    /**
     * 提交时间开始
     */
    @ApiModelProperty(value = "提交时间开始", notes = "提交时间开始", dataType = "Date")
    private Date submissionStart;
    /**
     * 提交时间结束
     */
    @ApiModelProperty(value = "提交时间结束", notes = "提交时间结束", dataType = "Date")
    private Date submissionEnd;

    /**
     * 产品类型
     */
    @ApiModelProperty(value = "产品类型", notes = "产品类型", dataType = "String")
    private String productType;

    /**
     * 合约类型的编号
     */
    @ApiModelProperty(value = "合约类型的编号", notes = "合约类型的编号", dataType = "String")
    private String contractTypeCode;
    
    /**
     * 排序字段
     */
    @ApiModelProperty(value = "排序字段(创建时间createTime、提交时间submitTime、产品类型productType、合约类型编号conTypeCode)若已填排序方式则排序字段必填", notes = "排序字段(创建时间createTime、提交时间submitTime、产品类型productType、合约类型编号conTypeCode)若已填排序方式则排序字段必填", dataType = "String")
    private String sortField;
    
    /**
     * 排序方式
     */
    @ApiModelProperty(value = "排序方式(asc正序，desc倒序)若已填排序字段则排序方式必填", notes = "排序方式(asc正序，desc倒序)若已填排序字段则排序方式必填", dataType = "String")
    private String sortOrder;
}
